package net.towee.model.repo;

import java.util.Date;

import net.towee.model.account.AccountIdentity;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Model of document revision information. Consists of author, date of
 * creation and description of revision. 
 * @author c58
 *
 */
public interface DocumentDiff extends IsSerializable  {
	
	/**
	 * @return id of patch to get this revision from newest
	 */
	String getPatchId();
	
	/**
	 * @return author account identity
	 */
	AccountIdentity getAuthor();
	
	/**
	 * @return date of revision creation
	 */
	Date getCreationDate();
	
	/**
	 * @return description of this revision
	 */
	String getExplanation();
}
